package com.cloud.pole.shop.service.goods;

import java.util.Map;

import com.cloud.pole.shop.model.entity.goods.ShopGoodsAdmin;
import com.cloud.pole.shop.model.entity.goods.ShopGoodsPromotion;
import com.cloud.pole.shop.model.vo.goods.ShopGoodsPromotionAdminVo;
import com.github.pagehelper.PageInfo;

/*
*2019年7月4日
*cloud-shop
*author:frank-chen
*/
public interface GoodsPromotionService {

	public PageInfo<ShopGoodsPromotionAdminVo> selectShopGoodsPromotionAdminVoListByMap(String token, Map<String, Object> map, Integer pageNo,
			Integer pageSize) throws Exception;
	
	public void deletePromotionBatch(String token, String promotionIds) throws Exception;
	
	public void deletePromotion(String token, Integer id) throws Exception;
	
	public void addPromotion(String token, ShopGoodsPromotion entity)throws Exception;
	
	public void modifyPromotion(String token, ShopGoodsPromotion entity)throws Exception;
	
	public PageInfo<ShopGoodsPromotion> selectPageShopAdminList(Integer shopId,Integer componentId,Integer pageNo,
			Integer pageSize) throws Exception;
	
	public ShopGoodsPromotion selectById(Integer shopId,Integer indexRecommNum,Integer promotionId) throws Exception;
	
	public void updateShopGoodsPromotion(ShopGoodsPromotion shopGoodsPromotion) throws Exception;
}
